package library.persistence.dao;

import library.domain.Book;
import java.util.List;

public interface BookDao {

    List<Book> getAllBook();

    Book getBookByBookId(int bookId);

    Book getBookByBookName(String bookName);

    void insertBook(Book book);

    void updateBookByBookId(Book book);

    void deleteBookByBookId(int id);

    void deleteBookByBookName(String bookName);

    List<Book> searchBookList(String keyword);
}
